﻿package tk.mystudio.permission.dao;

import tk.mystudio.dao.BaseDao;
import tk.mystudio.permission.bean.AccountRole;

public interface AccountRoleDao extends BaseDao<AccountRole> {
	
	/**
	 * 根据角色编号撤消角色授权
	 * @param roleId
	 */
	public void revokeAccountRoleByRoleId(Integer roleId);
	
	/**
	 * 根据账户编号撤消角色授权
	 * @param accountId
	 */
	public void revokeAccountRoleByAccountId(Integer accountId);

}
